package cn.ceplc.nlu.admin.controller;

import cn.ceplc.nlu.admin.domain.Role;
import cn.ceplc.nlu.admin.service.RoleService;
import cn.ceplc.nlu.base.controller.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("role")
public class RoleController extends BaseController<Role, Long> {

    @Autowired
    public void setRoleService(RoleService roleService) {
        this.baseService = roleService;
    }
}
